.main_message {
    position: relative;
    width: 1200px;
    height: 85vh;
    margin: 16px auto 0;
    // max-height: 795px;
    min-height: 575px;
    padding: 20px 30px 49px 30px;
    background-color: #ffffff;
    border-radius: 8px;
    .ant-checkbox-wrapper {
        margin-right: 8px;

        .ant-checkbox-indeterminate {
            top: 0;
            width: 14px;
            height: 14px;
        }

        .ant-checkbox:not(.ant-checkbox-indeterminate) {
            top: 0;
            width: 14px;
            height: 14px;

            .ant-checkbox-inner {
                width: 14px;
                height: 14px;

                &::after {
                    top: 43%;
                    left: 20%;
                    transform: rotate(45deg) scale(0.86) translate(-50%, -50%);
                }
            }
        }

        .ant-checkbox+span {
            position: relative;
            top: -2px;
        }
    }

    .notice_option {
        margin-bottom: 12px;

        &::after {
            content: "";
            display: block;
            clear: both;
        }

        .option_one {
            display: inline-block;
            vertical-align: middle;
            padding: 0 11px;
            height: 30px;
            line-height: 28px;
            border: 1px solid #b2d4ff;
            border-left: 0;

            &:not(.active) {
                cursor: pointer;

                &:hover {
                    opacity: 0.8;
                }
            }

            &:first-of-type {
                border-radius: 3px 0 0 3px;
                border-left: 1px solid #b2d4ff;
            }

            &:last-of-type {
                border-radius: 0px 3px 3px 0px;
            }

            &.active {
                background-color: #f1f7ff;
                color: #0290fd;
            }
        }

        .list_info {
            display: inline-block;
            vertical-align: middle;
            line-height: 30px;
            color: #999;

            span {
                color: #333;
            }
        }

        .option_search {
            float: right;
            display: block;
        }

        .delete_btn {
            float: right;
            height: 30px;
            line-height: 30px;
            padding: 0 12px;
            color: #ec5260;
            background-color: #fef0f0;
            box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.03);
            border-radius: 3px;
            border: solid 1px #fbc4c4;
            cursor: pointer;
            margin-left: 10px;

            &:hover {
                opacity: .8;
            }

            i {
                display: inline-block;
                vertical-align: middle;
                width: 14px;
                height: 14px;
                background-image: url(../../../images/删除.svg);
                background-size: 100% 100%;
                margin-right: 3px;
                position: relative;
                top: -1px;
            }
        }

        .setting_btn {
            float: right;
            height: 30px;
            line-height: 30px;
            padding: 0 12px;
            color: #fff;
            background-image: linear-gradient(-270deg, #009cff 0%, #00b9ff 100%);
            box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.03);
            border-radius: 3px;
            cursor: pointer;
            margin-left: 10px;

            &:hover {
                opacity: .8;
            }

            i {
                display: inline-block;
                vertical-align: middle;
                width: 14px;
                height: 14px;
                background-image: url(../../../images/设置.svg);
                background-size: 100% 100%;
                margin-right: 3px;
                position: relative;
                top: -1px;
            }
        }
    }

    .notice_list {
        .notice_one {
            position: relative;
            height: 65px;
            border-bottom: 1px solid #f2f2f2;
            cursor: pointer;

            .checklogo {
                position: absolute;
                left: 20px;
                top: 9px;
            }

            &:hover {
                background-color: #f5f7fa;

                .one_option {
                    display: inline-block;
                }
            }

            .one_info {
                position: absolute;
                left: 42px;
                top: 10px;
                vertical-align: top;
                width: calc(100% - 180px);

                .info_title {
                    margin-bottom: 3px;
                    line-height: 16px;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    white-space: nowrap;
                }

                .info_detail {
                    color: #999;
                    font-size: 12px;
                    line-height: 16px;
                    margin-bottom: 0;

                    .detail_line {
                        display: inline-block;
                        vertical-align: middle;
                        width: 1px;
                        height: 10px;
                        background-color: #d9d9d9;
                        margin: 0 8px;
                        position: relative;
                        top: -1px;
                    }
                }
            }

            .one_option {
                display: none;
                position: absolute;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
                width: 180px;
                vertical-align: top;
                line-height: 38px;
                text-align: right;
                padding-right: 28px;
                background-color: rgb(245, 247, 250);

                .blue_text {
                    color: #0099ff;
                    cursor: pointer;

                    &:hover {
                        opacity: .8;
                    }
                }

                .slice_line {
                    display: inline-block;
                    vertical-align: middle;
                    width: 1px;
                    height: 10px;
                    background-color: #d9d9d9;
                    margin: 0 10px;
                    position: relative;
                    top: -1px;
                }

                .red_text {
                    color: #ef5757;
                    cursor: pointer;

                    &:hover {
                        opacity: .8;
                    }
                }
            }
        }
    }

    .notice_footer {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-top: 20px;

        .option_all {
            padding-left: 20px;

            .ant-checkbox-wrapper {
                display: inline-block;
                line-height: 100%;

                & span {
                    display: inline-block;
                    top: 0;
                }
            }

            .red_btn {
                display: inline-block;
                vertical-align: middle;
                height: 26px;
                line-height: 24px;
                padding: 0 12px;
                color: #ef5757;
                border: 1px solid #f7abab;
                border-radius: 3px;
                cursor: pointer;
                margin-right: 10px;

                &:hover {
                    opacity: .8;
                }
            }
        }


        .blue_btn {
            display: inline-block;
            vertical-align: middle;
            height: 26px;
            line-height: 26px;
            padding: 0 12px;
            color: #fff;
            background-color: #09aaff;
            border-radius: 3px;
            cursor: pointer;
            margin-right: 10px;

            &:hover {
                opacity: .8;
            }
        }



        .table_pagination {
            float: right;
        }
    }
}

.setting_modal {
    .setting_group {
        margin: 0 30px 16px;
        padding-bottom: 10px;
        border-bottom: 1px dashed rgba(#707070, 0.2);

        &:last-of-type {
            border-bottom: 0;
        }

        .group_title {
            font-size: 14px;
            font-weight: bold;

            .setting_switch {
                top: -1px;
                margin-left: 10px;
            }
        }

        .group_list {
            margin: 0;
            padding: 0;
            list-style: none;

            li {
                display: inline-block;
                vertical-align: top;
                width: calc(50% - 24px);
                margin: 0 24px 8px 0;

                &::before {
                    content: "";
                    display: inline-block;
                    vertical-align: middle;
                    width: 4px;
                    height: 4px;
                    background-color: #999;
                    transform: rotate(45deg);
                    margin: 0 6px 0 0;
                }

                &:nth-child(2n-1)::after {
                    content: "";
                    display: inline-block;
                    vertical-align: middle;
                    width: 1px;
                    height: 14px;
                    background-color: #e1e1e1;
                    border-radius: 2px;
                    margin-left: 24px;
                    position: relative;
                    top: -1px;
                }

                .one_name {
                    display: inline-block;
                    vertical-align: middle;
                    width: calc(100% - 60px);
                    padding-right: 20px;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    white-space: nowrap;
                }
            }
        }
    }

    .setting_switch {
        min-width: 24px !important;
        width: 24px !important;
        height: 16px !important;
        position: relative;

        .ant-switch-handle {
            width: 12px;
            height: 12px;
        }

        &.ant-switch-checked {
            background-color: #56be56 !important;

            .ant-switch-handle {
                left: calc(100% - 14px) !important;
            }
        }
    }
}

.setting_modal1 .ant-modal-content .ant-modal-header {
    // background-image: url(../../../hooks/images/s1_bg.png);
    background-image: url('');
    background: linear-gradient(270deg, #2c84d5, #083e7a);
}
.setting_modal2 .ant-modal-content .ant-modal-header {
    // background-image: url(../../../hooks/images/s2_bg.png);
    background-image: url('');
    background: linear-gradient(270deg, #05e4f8, #00a1ff);
}
.setting_modal3 .ant-modal-content .ant-modal-header {
    // background-image: url(../../../hooks/images/s3_bg.png);
    background-image: url('');
    background: linear-gradient(270deg, #4885ea, #1557c4);
}
.setting_modal4 .ant-modal-content .ant-modal-header {
    // background-image: url(../../../hooks/images/s4_bg.png);
    background-image: url('');
    background: linear-gradient(270deg, #059e3f, #036637);
}
.setting_modal5 .ant-modal-content .ant-modal-header {
    // background-image: url(../../../hooks/images/s5_bg.png);
    background-image: url('');
    background: linear-gradient(270deg, #744cad, #4c40ab);
}
.setting_modal6 .ant-modal-content .ant-modal-header {
    // background-image: url(../../../hooks/images/s6_bg.png);
    background-image: url('');
    background: linear-gradient(270deg, #d70023, #ac001c);
}